module branch_bench;

    reg [15:0]      rs;
    reg [2:0]       branch;

    wire            jump;

    branch foo (
            .branch(branch),
            .rs(rs),
            .jump(jump)
           );

    integer k;
    initial
    begin
        for (k=0; k<=7; k=k+1)
        begin
            branch = k;
            #5  rs = 16'H0000;
            #5  rs = 16'H1111;
            #5  rs = 16'HFFFF;
        end
        #10 $finish;
    end

    //string s[31:0] = {32{"hello"}};
    always @(rs)
    begin   
        #1;
        $display("branch=%b rs=%h jump=%b",
                branch,rs,jump);
    end
endmodule
